package com.example.demos.mapper;


import com.example.demos.entity.Dep;
import com.example.demos.entity.Emp;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigInteger;
import java.util.List;

@Mapper
public interface DepMapper {
    public List<Dep> select(Dep dep);

    int insert(Dep dep);

    Dep selectById(BigInteger id);

    List<Dep> selectNotIncludeId(BigInteger id);

    int update(Dep dep);

    int delete(BigInteger id);

    List<Emp> selectEmpByDepId(BigInteger id);
}
